Repository navigation
Add runtime CPU, remoteproc, OP-TEE and video correctness suites - #643
Draft
Srikanth Muppandam (smuppand) wants to merge 13 commits into
Draft
Srikanth Muppandam (smuppand) wants to merge 13 commits into
Srikanth Muppandam (smuppand) wants to merge 13 commits into
Conversation
Srikanth Muppandam (smuppand)
force-pushed
the
openbootstack-scenarios
branch
8 times, most recently
from
November 13, 2026 01:49
a462d59 to
eee04af
Compare
Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Extend the existing inventory wait with an optional stability interval and add bounded offline RPMsg quiescence checks. Preserve existing zero-interval callers and immediate healthy cleanup. Discover runtime debugfs controls and validate a single synthetic recovery sequence, including selected-owner shutdown failures. Crash cleanup only waits for automatic restoration after teardown, never issuing another recovery or start request when shutdown fails. Preserve orderly stop/start restoration and ownership-aware worker cancellation. Add opt-in before/after cleanup kernel evidence to the existing orchestrator so late host faults and incomplete evidence remain failures. Other callers retain their existing cleanup path without extra kernel capture. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Require stable runtime inventories before each mutation, stable offline RPMsg teardown before start and stable restoration at the deadline. Keep continuous kernel evidence and fail terminal child-driver errors even when registered endpoints later return. Expose the stability interval in the existing restart profiles and add a separate synthetic crash-recovery profile. Use the shared passive crash cleanup and capture late Oops, hard lockups and RCU stalls without repeating failed kernel teardown. Preserve dynamic discovery and image policies. Update operator examples, prerequisites and timeout guidance. Depends on the preceding remoteproc helper change. Revert this consumer integration before or together with its helper foundation. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Check installed executables without package transactions on every distro and fixed ramdisk. Missing optional tools remain an actionable SKIP, preserving explicit executable selection and functional failure evidence. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Reuse the shared non-installing command checks for optional phases and document missing tool and asset prerequisites across supported distributions. Preserve the existing CLI, result names and functional assertions. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Srikanth Muppandam (smuppand)
force-pushed
the
openbootstack-scenarios
branch
from
November 25, 2026 17:02
57e27b6 to
c2061c9
Compare
Srikanth Muppandam (smuppand)
added a commit
to smuppand/qcom-linux-testkit
that referenced
this pull request
Nov 25, 2026
Add separate ALSA recovery tests for a crash while idle and during an owned running stream. Resolve card identity and DSP ownership from runtime ASoC links, preserve mixer state, require actual card re-registration and verify playback after recovery. The stream test also rejects hangs and requires a device-disconnect error. Depends on the Remoteproc_Restart_Validation implementation in qualcomm-linux#643, reused for injection, recovery policy, event ordering and firmware/kernel fault classification. Without that dependency or image-provided optional prerequisites, the new suites skip. Existing AudioPlayback and AudioRecord behavior is unchanged. Validation: 42 host runner controls cover success, missing prerequisites, unrelated cards, genuine child failures, wrong stream ownership, hangs, incomplete results, control restoration and kernel faults. ShellCheck 0.9.0, dash syntax, YAML/result contracts, notices and whitespace passed. Hardware validation on applicable Yocto, Debian, Ubuntu, CentOS and ramdisk images is pending. No packages are installed and no LAVA job was submitted. Source walkthrough: qualcomm-linux/kernel 17bbb4b sound/soc/soc-core.c, sound/core/init.c and pcm.c, plus alsa-utils v1.2.14 aplay.c. The suites validate digital playback completion, not acoustic output. Explicit isolated-target opt-in is required. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Srikanth Muppandam (smuppand)
added a commit
to smuppand/qcom-linux-testkit
that referenced
this pull request
Nov 25, 2026
Add focused runtime-PM and driver-rebind decode tests. Use the existing native FFmpeg verifier to establish a working baseline and identify the hardware actually used, then require correct decoded frames on the same device after the lifecycle operation. Runtime-PM validation leaves policy unchanged, observes suspend and requires active-time accounting to advance during the recovered decode. Driver rebind requires explicit opt-in and an isolated target, refuses existing device users, checks node teardown/re-registration and restores only its original binding on failure or interruption. No firmware files are moved and no drivers are selected from board names. Depends on Video_Codec_Quality and shared lifecycle helpers from qualcomm-linux#643, without duplicating them. Optional image-provided prerequisites skip when absent. A previously supported decode becoming unavailable after mutation fails. Validation: 42 host controls cover normal recovery, unsupported PM, busy devices, malformed/missing child results, changed device identity, unbind/bind failures, node renumbering, failed resume accounting, genuine kernel faults and cleanup. ShellCheck 0.9.0, dash syntax, YAML/result contracts, notices and whitespace passed. Source walkthrough covered qualcomm-linux/kernel 17bbb4b Iris/Venus PM and remove paths. Hardware validation on applicable Yocto, Debian, Ubuntu, CentOS and ramdisk images remains pending. No LAVA jobs were submitted. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add separate suites for CPUFreq policy stress, CPU hotplug, Arm64 feature exposure, remoteproc readiness and repeated restart, reviewed OP-TEE regressions, and video codec correctness.
Use runtime capability discovery and image-provided tools and assets across Yocto, Debian, Ubuntu and CentOS. Reuse shared result, timeout and diagnostic helpers, keep state changes opt-in, and verify restoration. CPUFreq requires complete feedback samples, remoteproc restart checks RPMsg channel and driver recovery, and video validation compares decoded frames and encoded quality against software references.
Include matching YAML definitions and READMEs while preserving existing runners and plans. Remoteproc start/stop helpers accept an optional timeout and retain their existing six-second default.
Current follow-up split: #698 boot identity/handoff, #699 early memory, #700 first CPU online, #701 TEE memory reclaim, #702 KVM, #703 GPU pixel readback, #704 SystemReady ACS result validation, #705 idle residency, #706 audio DSP recovery and #707 video lifecycle. All are drafts with hardware validation pending.
#706 and #707 reuse this PR's remoteproc/decode verifiers and shared lifecycle helpers, so they depend on this PR being integrated. Existing FastRPC, probe/kernel-health and suspend/resume coverage is reused instead of introducing duplicate suites.
The native FFmpeg Video_Codec_Quality suite is retained alongside main's Video_V4L2_Runner verification. They exercise different client paths: native V4L2M2M decode/encode and repeated quality checks here, versus the existing Iris configuration runner. Existing CLI/YAML contracts and main's optional verification defaults are preserved. No firmware files are hidden or renamed for fault injection.